/*
 * This file is part of JSTUN. 
 * 
 * Copyright (c) 2005 Thomas King <king@t-king.de> - All rights
 * reserved.
 * 
 * This software is licensed under either the GNU Public License (GPL),
 * or the Apache 2.0 license. Copies of both license agreements are
 * included in this distribution.
 */

package com.jstun.core.attribute;

/**
 * 메시지 속성 헤더 enum 타입 및 상수 타입
 * @interface
 *
 */
public interface MessageAttributeInterface {
	/** 메시지 속성 헤더 enum type */
	public enum MessageAttributeType { MappedAddress, ResponseAddress, ChangeRequest, SourceAddress, ChangedAddress, Username, Password, MessageIntegrity, ErrorCode, UnknownAttribute, ReflectedFrom, Dummy };
	/** 매핑 주소 */
	final static int MAPPEDADDRESS = 0x0001;
	/** 응답 주소 */
	final static int RESPONSEADDRESS = 0x0002;
	/** 요청 변경 */
	final static int CHANGEREQUEST = 0x0003;
	/** 주소 출처 */
	final static int SOURCEADDRESS = 0x0004;
	/** 주소 변경 */
	final static int CHANGEDADDRESS = 0x0005;		
	/** 사용자 이름 */
	final static int USERNAME = 0x0006;				
	/** 패스워드 */
	final static int PASSWORD = 0x0007;				
	/** 메시지 무결성 */
	final static int MESSAGEINTEGRITY = 0x0008;		
	/** 에러 코드 */
	final static int ERRORCODE = 0x0009;			
	/** 알수없는 속성 */
	final static int UNKNOWNATTRIBUTE = 0x000a;		
	/** 반사 */
	final static int REFLECTEDFROM = 0x000b;		
	/** 더미 */
	final static int DUMMY = 0x0000;				
	
}
